package cn.commander.mapper;

import cn.commander.base.BaseMapper;
import cn.commander.shiro.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser, String> {
	//查询所有用户
	List<SysUser> findUserInfo();

	//根据用户名查询用户信息
	SysUser getUserByUserName(@Param("username") String username);

	//根据用户名获取角色

}
